TShadingApproximation Class Reference

List of all members.

Public Member Functions

void Init (void)

Public Attributes

TMCColorRGB fDiffuseColor
TMCColorRGB fEmissiveColor
TMCColorRGB fAmbientColor
TMCColorRGB fSpecularColor
real fSpecularIntensity
real fSpecularCoeff
real fOpacity
TMCColorRGB fReflection
uint32 fShaderChangeCounter

Detailed Description

This class represents an approximation to the basic shader properties for an object. Use the diffuse color when a single representative color is desired.


Member Function Documentation

void TShadingApproximation::Init (  void   )  [inline]
 


Member Data Documentation

TMCColorRGB TShadingApproximation::fAmbientColor
 

TMCColorRGB TShadingApproximation::fDiffuseColor
 

TMCColorRGB TShadingApproximation::fEmissiveColor
 

real TShadingApproximation::fOpacity
 

TMCColorRGB TShadingApproximation::fReflection
 

uint32 TShadingApproximation::fShaderChangeCounter
 

this is an incrementing counter advanced each time the surface changes the counter is used by the renderer to determine whether it's local cache is invalid

real TShadingApproximation::fSpecularCoeff
 

TMCColorRGB TShadingApproximation::fSpecularColor
 

real TShadingApproximation::fSpecularIntensity
 


The documentation for this class was generated from the following file:
Generated on Wed Dec 7 14:27:50 2005 for Carrara SDK Doc by  doxygen 1.4.5